<?php
/**
 * ErrorCode
 *
 * @Description 描述
 * @Author look
 * @CreateTime 2022/2/22
 */

namespace app\common\utils;

/**
 * Class ErrorCode
 */
class ErrorCode {

    const SUCCESS = ["success", 0];
    const NO_AUTH = ["没有访问权限", 401];
    const METHOD_ERROR = ['访问错误', 403];
    const NOT_FOUND = ["没有找到", 404];
    const ERROR = ["系统异常", 500];
    const FAIL = ["操作失败", 10000];
    const USER_PASSWORD_ERROR = ["账号或者密码输入不正确", 10001];
    const TOKEN_OVER = ["token已过期", 10002];
    const TOKEN_ERROR = ["token错误", 10003];
    const SIGN_ERROR = ["签名错误", 10004];
    const CAPTCHA_ERROR = ["验证码错误", 10005];


}